import axios from "axios"

const src='/api/kinds'

export function getList(){
    return axios.get(src+'/list');
}

export function insert(name){
    return axios.post(src,name);
}

export function kindDelete(ids){
    return axios.delete(src, {data: ids});
}

export function updateKind(kind){
    return axios.put(src,kind);
}
